<template>
  <div>
    <h1>我是一级路由Home</h1>
  </div>
</template>

<script setup lang="ts">
//首页挂载完成，发送请求获取用户信息
import { onMounted } from 'vue'
//引入用户相关的仓库
import useUserStore from '@/stores/modules/user.ts'
const userStore = useUserStore()
onMounted(() => {
  userStore.userInfo()
  // console.log(userStore);

  // console.log(111);
})
</script>

<style scoped></style>
